package www.csdn.net.day56.service;

import www.csdn.net.day56.bean.Admin;

public interface AdminService extends BaseService<Admin, Integer> {

	/**
	 * 用户登录验证的操作
	 * 
	 * @param name
	 * @param pass
	 * @return
	 */
	public Admin checkLogin(String name, String pass);

	/**
	 * 
	 * @param name
	 * @return
	 */
	public Admin checkLogin(String name);
}